/*
 *  Copyright 2010 UPF Telecos 4th group G.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */

package edu.upf.content;

import javax.swing.ImageIcon;

/**
 * Class that respresents a user content and its properties
 * @author netjois
 */
public interface DescriptionContent{

    /**
     * Sets an 'informative' size of the content
     * @param size
     */
    public void setSize(String size);

    /**
     * Gets and 'informative' size of the content
     * @return
     */
    public String getSize();

    /**
     * Sets the popularity of the content
     * @param popularity
     */
    public void setPopularity(String popularity);

    /**
     * Gets the content popularity
     * @return
     */
    public String getPopularity();

    /**
     * Sets the name of the content, usually name plus extension
     * @param name
     */
    public void setName(String name);

    /**
     * Gets the name of the content, usually name plus extension
     * @return
     */
    public String getName();

    /**
     * Sets the owner of this content
     * @param owner
     */
    public void setOwner(String owner);

    /**
     * Gets the owner of this content
     * @return
     */
    public String getOwner();

    /**
     * Gets the canonical path of the content
     * @return
     */
    public String getPath();

    public String getAlbum();

    public void setAlbum(String album);
    
    public void setFormat(String format);

    public String getFormat();

    /**
     * Get the thubnail if exists
     * @return
     */
    public ImageIcon getThumbnail();
}
